package com.woniuxy.staff;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.openfeign.EnableFeignClients;


@SpringBootApplication(scanBasePackages = {"com.woniuxy","com.commons"})
@EnableCircuitBreaker //导入熔断器以便降级
@EnableFeignClients(basePackages = "com.woniuxy.commons.service")  //扫描fegin
public class StaffApplication {

    public static void main(String[] args) {
        SpringApplication.run(StaffApplication.class, args);
    }

}
